<style xmlns:th="http://www.w3.org/1999/xhtml" >
.pdding7{padding-top: 7px;margin-top: 7px;}
</style>
					<form xmlns:th="http://www.w3.org/1999/xhtml" id="form_check_pay_channel_zfb_1" enctype="multipart/form-data"  method="post" action="merchant/pay/channel/check_pay_channel" class="form-horizontal bv-form" >
							<div class="form-body">
								<input  type="hidden" name="payChannelId" th:value="${payChannelId}"/>

								<div class="form-group" >
									<label  class="col-md-3 control-label">对公对私:
									</label>
									<div class="col-md-9">
										<label th:if="${payChannel.settleType==1}">
											<span class="text"> 对公</span>
										</label>
										<label th:if="${payChannel.settleType==2}">
											<span class="text"> 对私</span>
										</label>
									</div>
								</div>

								<!--对公-->
								<div class="form-group" id="settle_public" th:if="${payChannel.settleType==1}">

									<label  class="col-md-3 control-label">开户名称:
									</label>
									<div class="col-md-9">
										<input class='form-control ' type="text"  th:value="${wi.settleAccountName}" readonly="true"/>
									</div>

									<label  class="col-md-3 control-label">开户城市:
									</label>
									<div class="col-md-9">
										<input class='form-control ' type="text" th:value="${wi.settleAccountCity}" readonly="true"  />
									</div>

									<label  class="col-md-3 control-label">开户银行:
									</label>
									<div class="col-md-9">
										<input class='form-control ' type="text" th:value="${wi.settleAccountBank}" readonly="true"  />
									</div>

									<label  class="col-md-3 control-label">开户银行支行:
									</label>
									<div class="col-md-9">
										<input class='form-control ' type="text"  th:value="${wi.settleAccountBankBranch}" readonly="true" />
									</div>

									<label  class="col-md-3 control-label">结算银行账号:
									</label>
									<div class="col-md-9">
										<input class='form-control ' type="text"  th:value="${wi.settleBankAccount}" readonly="true"  />
									</div>

									<label  class="col-md-3 control-label">结算联行号:
									</label>
									<div class="col-md-9">
										<input class='form-control ' type="text" th:value="${wi.settleLineNumber}" readonly="true"  />
									</div>

								</div>

								<!--对私-->
								<div class="form-group" id="settle_private"  th:if="${payChannel.settleType==2}">

									<label  class="col-md-3 control-label">结算人姓名:
									</label>
									<div class="col-md-9">
										<input class='form-control ' type="text"  th:value="${wi.settlemanName}" readonly="true" />
									</div>

									<label  class="col-md-3 control-label">结算人手机号:
									</label>
									<div class="col-md-9">
										<input class='form-control ' type="text" th:value="${wi.settlemanPhone}" readonly="true"/>
									</div>

									<label  class="col-md-3 control-label">结算人身份证号:
									</label>
									<div class="col-md-9">
										<input class='form-control ' type="text"  th:value="${wi.settlemanIdcardnumber}" readonly="true"/>
									</div>

									<label  class="col-md-3 control-label">结算银行账号:
									</label>
									<div class="col-md-9">
										<input class='form-control ' type="text" th:value="${wi.settleBankAccount}" readonly="true"/>
									</div>

									<label  class="col-md-3 control-label">开户银行:
									</label>
									<div class="col-md-9">
										<input class='form-control ' type="text"  th:value="${wi.settleAccountBank}" readonly="true"/>
									</div>

									<label  class="col-md-3 control-label">开户银行支行:
									</label>
									<div class="col-md-9">
										<input class='form-control ' type="text"  th:value="${wi.settleAccountBankBranch}" readonly="true"/>
									</div>

									<label  class="col-md-3 control-label">结算联行号:
									</label>
									<div class="col-md-9">
										<input class='form-control ' type="text"  th:value="${wi.settleLineNumber}" readonly="true"/>
									</div>

								</div>

								<div class="form-group" >
									<label  class="col-md-3 control-label">微信官方微信主扫客结算费率（%）:
									</label>
									<div class="col-md-9">
										<input class='form-control ' type="text"  th:value="${wi.rateMasterScanGuest}" readonly="true"/>
									</div>
								</div>
								<div class="form-group" >
									<label  class="col-md-3 control-label">微信官方微信客扫主结算费率（%）:
									</label>
									<div class="col-md-9">
										<input class='form-control ' type="text"  th:value="${wi.rateGuestScanMaster}" readonly="true"/>
									</div>
								</div>
								<div class="form-group" >
									<label  class="col-md-3 control-label">微信官方微信小程序支付结算费率（%）:
									</label>
									<div class="col-md-9">
										<input class='form-control ' type="text"  th:value="${wi.rateMiniappPay}" readonly="true"/>
									</div>
								</div>
								<div class="form-group" >
									<label  class="col-md-3 control-label">微信官方微信预授权主扫客结算费率（%）:
									</label>
									<div class="col-md-9">
										<input class='form-control ' type="text" th:value="${wi.ratePreauthMasterScanGuest}" readonly="true"/>
									</div>
								</div>

								<!--照片-->
								<div class="form-group" id="picDoorhead_Div">
									<label  class="col-md-3 control-label">门头照:
									</label>
									<div class="col-md-9">
										<img  th:src="${wi.picDoorhead}" style="display: block;height: 150px;"/>
									</div>
								</div>

								<!--照片-->
								<div class="form-group" id="picCashier_Div">
									<label  class="col-md-3 control-label">收银台照:
									</label>
									<div class="col-md-9">
										<img  th:src="${wi.picCashier}" style="display: block;height: 150px;"/>
									</div>
								</div>

								<!--照片-->
								<div class="form-group" id="picManageLocation_Div">
									<label  class="col-md-3 control-label">经营场所照:
									</label>
									<div class="col-md-9">
										<img  th:src="${wi.picManageLocation}" style="display: block;height: 150px;"/>
									</div>
								</div>

								<!--照片-->
								<div class="form-group" id="picLegalpersonIdcardFront_Div">
									<label  class="col-md-3 control-label">法人身份证正面照:
									</label>
									<div class="col-md-9">
										<img  th:src="${wi.picLegalpersonIdcardFront}" style="display: block;height: 150px;"/>
									</div>
								</div>

								<!--照片-->
								<div class="form-group" id="picLegalpersonIdcardReverse_Div">
									<label  class="col-md-3 control-label">法人身份证反面照:
									</label>
									<div class="col-md-9">
										<img  th:src="${wi.picLegalpersonIdcardReverse}" style="display: block;height: 150px;"/>
									</div>
								</div>

								<!--照片-->
								<div class="form-group" id="picOpenAccountLicence_Div">
									<label  class="col-md-3 control-label">开户许可证照:
									</label>
									<div class="col-md-9">
										<img  th:src="${wi.picOpenAccountLicence}" style="display: block;height: 150px;"/>
									</div>
								</div>

								<!--照片-->
								<div class="form-group" id="picBusinessLicence_Div">
									<label  class="col-md-3 control-label">营业执照:
									</label>
									<div class="col-md-9">
										<img  th:src="${wi.picBusinessLicence}" style="display: block;height: 150px;"/>
									</div>
								</div>

								<!--照片-->
								<div class="form-group" id="picSettlemanIdcardFront_Div">
									<label  class="col-md-3 control-label">结算人身份证正面照:
									</label>
									<div class="col-md-9">
										<img  th:src="${wi.picSettlemanIdcardFront}" style="display: block;height: 150px;"/>
									</div>
								</div>

								<!--照片-->
								<div class="form-group" id="picSettlemanIdcardReverse_Div">
									<label  class="col-md-3 control-label">结算人身份证反面照:
									</label>
									<div class="col-md-9">
										<img  th:src="${wi.picSettlemanIdcardReverse}" style="display: block;height: 150px;"/>
									</div>
								</div>

								<!--照片-->
								<div class="form-group" id="picIdcardInhand_Div">
									<label  class="col-md-3 control-label">手持身份证照片:
									</label>
									<div class="col-md-9">
										<img  th:src="${wi.picIdcardInhand}" style="display: block;height: 150px;"/>
									</div>
								</div>

								<!--照片-->
								<div class="form-group" id="picUnlegalpersonPrivateAuthletter_Div">
									<label  class="col-md-3 control-label">非法人对私授权函照:
									</label>
									<div class="col-md-9">
										<img  th:src="${wi.picUnlegalpersonPrivateAuthletter}" style="display: block;height: 150px;"/>
									</div>
								</div>

								<!--照片-->
								<div class="form-group" id="picLeaseContract_Div">
									<label  class="col-md-3 control-label">租房合同照:
									</label>
									<div class="col-md-9">
										<img  th:src="${wi.picLeaseContract}" style="display: block;height: 150px;"/>
									</div>
								</div>

								<!--照片-->
								<div class="form-group" id="picBankcard_Div">
									<label  class="col-md-3 control-label">银行卡照:
									</label>
									<div class="col-md-9">
										<img  th:src="${wi.picBankcard}" style="display: block;height: 150px;"/>
									</div>
								</div>

								<!--照片-->
								<div class="form-group" id="picOtherinfo1_Div">
									<label  class="col-md-3 control-label">其他资料-1:
									</label>
									<div class="col-md-9">
										<img  th:src="${wi.picOtherinfo1}" style="display: block;height: 150px;"/>
									</div>
								</div>

								<!--照片-->
								<div class="form-group" id="picOtherinfo2_Div">
									<label  class="col-md-3 control-label">其他资料-2:
									</label>
									<div class="col-md-9">
										<img  th:src="${wi.picOtherinfo2}" style="display: block;height: 150px;"/>
									</div>
								</div>

							</div>
							<div class="  form-group ">
								<div class="pull-right form-btn">
									<button id="passButton" type="submit" class="btn btn-info"><i class="ace-icon fa fa-check bigger-110"></i>通过</button>
									<button id="rejectButton" type="submit" class="btn btn-info"><i class="ace-icon fa fa-check bigger-110"></i>驳回</button>
								</div>
							</div>
							</form>
<script type="text/javascript">

//^[0-9a-zA-Z]+[0-9a-zA-Z\.-]*\.[a-zA-Z]{2,4}$

jQuery(document).ready(function() {

	FormSamples.init({
		formId:'form_check_pay_channel_zfb_1'
	});

	$("#passButton").click(function(){
		// $.get("merchant/pay/channel/check_pay_channel?payChannelId=0&opened=0",function(resp, status_code){
		// });
		$("#form_check_pay_channel_zfb_1").attr("action","merchant/pay/channel/check_pay_channel?opened=1");
	});

	$("#rejectButton").click(function(){
		$("#form_check_pay_channel_zfb_1").attr("action","merchant/pay/channel/check_pay_channel?opened=-1");
	});
});
</script>